import { instance } from "../utils/request";

const administratorLoginByAccount = (data) => {
  return instance.post("/Login/AdministratorLoginByAccount", data);
};

const administratorLoginByPhone = (data) => {
  return instance.post("/Login/AdministratorLoginByPhone", data);
};

const checkAdministratorLogin = () => {
  return instance.get("/Login/CheckAdministratorLogin");
};

export default {
  administratorLoginByAccount,
  administratorLoginByPhone,
  checkAdministratorLogin,
};
